/*
 * Language.java
 *
 * Created on 15 de octubre de 2006, 1:56
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package ub.es.ubictionary.logic;

/**
 *
 * @author aram
 */
public class Language {
    public static final int SEARCH = 0;
    public static final int DICTIONARY = 1;
    public static final int EXIT = 2;
    public static final int HELP = 3;
    public static final int KEYBOARD = 4;
    public static final int BACK = 5;
    public static final int ACCEPT = 6;
    public static final int NO_RESULTS = 7;
    public static final int LANGUAGE = 8;
    public static final int HELP_TEXT = 9;
    public static final int ABOUT = 10;
    String name;
    String words [];
    /** Creates a new instance of Language */
    public Language() {
        name = "";
        words = new String[11];
    }
    
    public Language(String name){
        this.name = name;
        words = new String[11];
    }
    
    public Language(String name, String[] words){
        this.name = name;
        this.words = words;
    }

    
    public void setWord(int i, String w){
        words[i] = w;
    }
    
    public String getWord(int i){
        return words[i];
    }
    
    public String[] getWords(){
        return words;
    }
    
    public void setWords(String w[]){
        words = w;
    }
    
    public String getName(){
        return name;
    }
}
